package com.example.springboot_test.design_mode.proxy.virtual_proxy;

import java.awt.*;
import java.net.URL;

public class ImageIcon implements Icon {
    private URL url;
    private String name;

    public ImageIcon(URL url, String name) {
        this.url = url;
        this.name = name;
    }

    @Override
    public int getIconWidth() {
        return 0;
    }

    @Override
    public int getIconHeight() {
        return 0;
    }

    @Override
    public void paintIcon(Component c, Graphics g, int x, int y) {

    }

}
